package com.example.shiwuyouproject.ui.fragment.my.activity.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentPagerAdapter

/**
 * Created by hackware on 2016/9/10.
 */
class ExamplePagerAdapter(private val mDataList: MutableList<Fragment>, fm: FragmentManager) :
    FragmentPagerAdapter(fm) {

    override fun getCount(): Int {
      return  mDataList.size
    }

    override fun getItem(position: Int): Fragment {
        return mDataList[position]
    }


}